package com.xinguan.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈俊行
 * @Date: 2023/11/13/18:56
 * @Description:
 */
@Data
public class CommodityDto {
    @ApiModelProperty("商品名称")
    private String commodityName;
    @ApiModelProperty("商品分类")
    private String categoryId;
    @ApiModelProperty("成本")
    private Double cost;
    @ApiModelProperty("现价")
    private Double currentPrice;
    @ApiModelProperty("库存")
    private Integer inventory;
    @ApiModelProperty("商品警戒库存")
    private Integer dangerInventory;
    @ApiModelProperty("售卖单位")
    private String sellingUnit;
    @ApiModelProperty("商品图片")
    private byte[] file;
}
